package com.cskaoyan.bean.order.vo;

import com.cskaoyan.bean.Order;
import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bean.User;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author wangdezhao
 * @date 2021/6/5
 * @description
 */
@NoArgsConstructor
@Data
public class OrderDetailVo implements Serializable {
    /**
     * orderGoods : [{"id":26,"orderId":26,"goodsId":1181005,"goodsName":"一件衣服","goodsSn":"34782","productId":255,"number":1,"price":3333,"specifications":["标准"],"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/wiqjcro77ewo44rbn3dx.jpg","comment":0,"addTime":"2021-06-05 19:29:25","updateTime":"2021-06-05 19:29:25","deleted":false}]
     * user : {"nickname":"测试用户","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"}
     * order : {"id":26,"userId":1,"orderSn":"20210605490963","orderStatus":103,"consignee":"松哥","mobile":"15976753826","address":"湖北省 武汉市 洪山区 花山街道软件新城2期","message":"","goodsPrice":3333,"freightPrice":0,"couponPrice":0,"integralPrice":0,"grouponPrice":0,"orderPrice":3333,"actualPrice":3333,"comments":0,"endTime":"2021-06-05 20:07:33","addTime":"2021-06-05 19:29:25","updateTime":"2021-06-05 20:07:33","deleted":false}
     */

    private User user;
    private Order order; // orderBean -> order
    private List<OrderGoods> orderGoods; // orderGoodsBean -> orderGoods
}
